package com.ts.enterprise;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author dean
 */
@EnableScheduling
@EnableAsync
@EnableTransactionManagement
@EnableSwagger2
@SpringBootApplication
@EnableCaching
@MapperScan(value = "com.ts.enterprise.module.*.mapper")
public class TsEnterpriseApplication {
    public static void main(String[] args) {
        SpringApplication.run(TsEnterpriseApplication.class, args);
    }

}
